from sio import sio 
from app.models import Station,Dev
from cv.classify.classify_state import ClassifyState
from cv.classify.classify_th import ClassifyTH

async def send_cvinfo(timestamp:int,station:Station,dev:Dev,short_cfy:ClassifyState,long_cfy:ClassifyTH=None):
    cv_info = f"http://10.12.48.223:7000/img/{timestamp}.jpg"
    await sio.emit("cv_add", cv_info, room="agv")

